#ifndef DISPLAY_H
#define DISPLAY_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"

#include "device/device_spi.h"
#include "Product_Config.h"
#include "LOG.h"

void disp_clear_light_corner();
void disp_clear_light_around();
void disp_clear_light_front();
void disp_clear_light(u8 port,u16 length);
void logic_send_light_msg(spi_send_param *spi_param);
void light_yellow_ws2812(u8 port,u16 length);
void light_green_ws2812(u8 port,u16 length);
void light_red_ws2812(u8 port,u16 length);
void light_blue_ws2812(u8 port,u16 length);
void light_white_ws2812(u8 port,u16 length);

void ws281x_set_pixel_color(uint16_t n ,uint32_t GRBcolor,u16 length,u8 *uart_rx_buffer);
uint32_t ws281x_wheel(uint8_t wheelPos);
uint32_t ws281x_color(uint8_t red, uint8_t green, uint8_t blue);
#endif